package com.nguc.ngucpractice.dao;

import org.apache.ibatis.annotations.Select;

import java.util.Map;

public interface LoginUserDao {
    @Select("select * from users where username = #{userName}")
    Map<String, Object> queryLoginUser(String userName);

    @Select("select count(*) from users where username = #{userName}")
    int queryCountUser(String userName);
}
